import { UserGameData } from "../model/UserGameData";
import { EnumProtocolType } from "./EnumProtocolType";
import { MsgBasic } from "./MsgBasic";


/**
 * 登录
 *
 * @export
 * @class CS_Login
 * @extends {MsgBasic}
 */
export class CS_Login extends MsgBasic {

    public cmdid: EnumProtocolType = EnumProtocolType.CS_Login;
    public username: string = "";
    public password: string = "";
}

/**
 * 登录
 *
 * @export
 * 
 * 
 * @class SC_Login
 * @extends {MsgBasic}
 */
export class SC_Login extends MsgBasic{
    public cmdid: EnumProtocolType = EnumProtocolType.SC_Login;
    public userid:string = "";
    public session:string = "";
    public gamedata:UserGameData;
}